<template>
	
<view class="bg-white padding">
	<view class="cu-steps">
		<view class="cu-item" :class="index>num?'':'text-blue'" v-for="(item,index) in numList" :key="index">
			<text class="num" :data-index="index + 1"></text> {{item.name}}
		</view>
	</view>
</view>

 </template>
 
 
 
<script>
	export default {
		data() {
			return {
				numList: [{name: '第一步'}, 
                                    {name: '第二步'}, 
                                    {name: '第三步'}],
				num: 0
			};
		},
		methods: {
			NumSteps() {
				this.num= this.basics == this.basicsList.length - 1 ? 0 : this.basics + 1				
			}
		}
	}
</script>

<style>

</style>
